﻿using Fuse8.ContentManagementFramework.Domain.Commands.CommandParameters;
using Fuse8.DomainFramework.Domain;

namespace Fuse8.ContentManagementFramework.Domain.Commands
{
    public abstract class CmsSiteSelectForUserCommand : BaseEntityParameterCommand<CmsSite, CmsSiteSelectForUserCommandParameter>
    {
        public override string CacheKey
        {
            get
            {
                return string.Format("UserId_{0}",
                    CommandParameter.UserId);
            }
        }

        public override string CommandName
        {
            get
            {
                return "CmsSiteSelectForUser";
            }
        }
    }
}
